/**
 * Description:
 * Class Name:SquareCommand
 * Date:2022/1/30 17:41
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第6章_面向对象_下._6_6_接口_经Java9改进;

public class SquareCommand implements Command{
    @Override
    public void process(int element) {
        System.out.println("数组元素的平方是：" + element * element);
    }
}
